package org.jeecg.modules.power.province.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: yl_area
 * @Author: jeecg-boot
 * @Date:   2024-07-19
 * @Version: V1.0
 */
@Data
@TableName("yl_area")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="yl_area对象", description="yl_area")
public class YlArea implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id 主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id 主键")
    private String id;
	/**区代码*/
	@Excel(name = "区代码", width = 15)
    @ApiModelProperty(value = "区代码")
    private String areaCode;
	/**父级市代码*/
	@Excel(name = "父级市代码", width = 15)
    @ApiModelProperty(value = "父级市代码")
    private String cityCode;
	/**省代码*/
	@Excel(name = "省代码", width = 15)
    @ApiModelProperty(value = "省代码")
    private String provinceCode;
	/**市名称*/
	@Excel(name = "市名称", width = 15)
    @ApiModelProperty(value = "市名称")
    private String areaName;
	/**简称*/
	@Excel(name = "简称", width = 15)
    @ApiModelProperty(value = "简称")
    private String shortName;
	/**经度*/
	@Excel(name = "经度", width = 15)
    @ApiModelProperty(value = "经度")
    private String lng;
	/**纬度*/
	@Excel(name = "纬度", width = 15)
    @ApiModelProperty(value = "纬度")
    private String lat;
	/**排序*/
	@Excel(name = "排序", width = 15)
    @ApiModelProperty(value = "排序")
    private Integer sort;
	/**创建时间*/
	@Excel(name = "创建时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date gmtCreate;
	/**修改时间*/
	@Excel(name = "修改时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "修改时间")
    private Date gmtModified;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String memo;
	/**状态*/
	@Excel(name = "状态", width = 15)
    @ApiModelProperty(value = "状态")
    private Integer dataState;
}
